package org.gruposp2p.proyectokarma.gwt.client.domain;

import java.util.Date;

public class Vote  implements java.io.Serializable {

     private Long id;
     private Document document;
     private Peer peer;
     private Date date;
     private String stringValue;
     private Long numericValue;
     private String details;

    public Vote() { }

	
    public Vote(Long id, Document document, Peer peer, Date date) {
        this.id = id;
        this.document = document;
        this.peer = peer;
        this.date = date;
    }

    public Vote(Long id, Document document, Peer peer, Date date, String stringValue, Long numericValue, String details) {
       this.id = id;
       this.document = document;
       this.peer = peer;
       this.date = date;
       this.stringValue = stringValue;
       this.numericValue = numericValue;
       this.details = details;
    }
   
    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Document getDocument() {
        return this.document;
    }
    
    public void setDocument(Document document) {
        this.document = document;
    }

    public Peer getPeer() {
        return this.peer;
    }
    
    public void setPeer(Peer peer) {
        this.peer = peer;
    }

    public Date getDate() {
        return this.date;
    }
    
    public void setDate(Date date) {
        this.date = date;
    }
    
    public String getStringValue() {
        return this.stringValue;
    }
    
    public void setStringValue(String stringValue) {
        this.stringValue = stringValue;
    }
    
    public Long getNumericValue() {
        return this.numericValue;
    }
    
    public void setNumericValue(Long numericValue) {
        this.numericValue = numericValue;
    }
    
    public String getDetails() {
        return this.details;
    }
    
    public void setDetails(String details) {
        this.details = details;
    }

}


